package org.biubiu0002.baiblog.core.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.biubiu0002.baiblog.common.utils.PageUtils;
import org.biubiu0002.baiblog.core.model.entity.CommentRecordEntity;
import org.biubiu0002.baiblog.core.model.vo.req.CommentDeleteReqVo;

import java.util.Map;

/**
 * 评论记录表
 *
 * @author biubiu0002
 * @email 1007918011@qq.com
 * @date 2022-05-06 00:50:37
 */
public interface CommentRecordService extends IService<CommentRecordEntity> {

    /**
     * 分页查询评论
     * @param params 分页参数
     * @return 分页结果
     */
    PageUtils queryPage(Map<String, Object> params);

    /**
     * 删除评论
     * @param commentDeleteReqVo 删除vo
     */
    void delete(CommentDeleteReqVo commentDeleteReqVo);
}

